﻿using Step4.Unit7.Service.Dto;
using Step4.Unit7.Service.Dto.Condition;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Step4.Unit7.Service
{
    public interface IAccountService
    {
        // 查
        List<AccountViewModel> Search(AccountRequest? condition);

        // 增
        void Add(AccountBo bo);

        // 改
        void Update(AccountUpdateBo bo);

        // 获单个
        AccountUpdateBo GetModel(long Id);

        // 删除(软删除)
        void Delete(long id);

        List<DebtorViewModel> GetDebtors();
    }
}
